package model.workersWithData.sort;

import java.util.Comparator;

import entities.IMaster;


public class SortMasterByName implements Comparator<IMaster> {
	public int compare(IMaster master1,IMaster master2){
		int result=0;
			result=master1.getNameMaster().compareTo(master2.getNameMaster());
			return result;
	}
			

}
